package ch.abcm.remsmobile.REMSMobile;

import ch.abcm.remsmobile.REMSMobile.network.NetworkController;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class StartupJob extends BroadcastReceiver{
    
    private static final String TAG = "StartupJob";

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d(TAG, "Received Intent: "+ intent.getAction());
        Intent startNetwork = NetworkController.getStartIntent();
        Log.d(TAG, "Send startNetwork Intent");
        context.sendBroadcast(startNetwork);
    }

}
